widget: Don't overadjust allocations
authorBenjamin Otte <otte@redhat.com>
Mon, 18 Oct 2021 23:08:06 +0000 (01:08 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 18 Oct 2021 23:55:59 +0000 (01:55 +0200)
commit3742fabae040d914e6ae58edf31170a54a980f21
treeddf92d2f1adaaaf178ae5fa2c772586cd690bc57
parent192e554f3e524246d60caecea6eb7fc79c0c5d12
widget: Don't overadjust allocations

When adjusting allocations, don't query height for the current width,
but query it for the adjusted width.

And adjust width not to the width-for-any-height, but to
width-for-allocated-height.
gtk/gtkwidget.c